<script language="JavaScript" src="scripts/fValidate/fValidate.config.js" ></script>
<script language="JavaScript" src="scripts/fValidate/fValidate.lang-ukUA.js" ></script>
<script language="JavaScript" src="scripts/fValidate/fValidate.core.js" ></script>
<script language="JavaScript" src="scripts/fValidate/fValidate.validators.js" ></script>

<form method="post" enctype="multipart/form-data"  onSubmit="return validateForm( this, 1, 0, 0, 1, 16); " >

<fieldset>
<Legend>Label</legend>

 <input type="hidden" name="data_id" value="{$record->id}">

<label for="data_name">Name:</label>
 <input type="text" name="data_name" value="{$record->name}" alt="blank"  emsg="Name cant' be empty"  size ="30"><br>

<label for="data_resource">Resource:</label>
 <input type="text" name="data_resource" value="{$record->resource}" alt="blank"  emsg="Resource cant' be empty"  size ="30"><br>


</fieldset>
<input name="btn_sbmt" type="submit" value="OK">
<input name="btn_reset" type="reset" value="Cancel">
<br>
<ul id="errors">   </ul>
</form>
